if d.Get("type").(string) != "SUBORDINATE" {
	url, err = replaceVars(d, config, "{{PrivatecaBasePath}}projects/{{project}}/locations/{{location}}/caPools/{{pool}}/certificateAuthorities/{{certificate_authority_id}}:enable")
	if err != nil {
		return err
	}

	log.Printf("[DEBUG] Enabling CertificateAuthority: %#v", obj)

	res, err = sendRequest(config, "POST", billingProject, url, userAgent, nil)
	if err != nil {
		return fmt.Errorf("Error enabling CertificateAuthority: %s", err)
	}

	err = privatecaOperationWaitTimeWithResponse(
		config, res, &opRes, project, "Enabling CertificateAuthority", userAgent,
		d.Timeout(schema.TimeoutCreate))
	if err != nil {
		return fmt.Errorf("Error waiting to enable CertificateAuthority: %s", err)
	}
}
